import threading


class WorkerThread(threading.Thread):
    def __init__(self, n):
        super(WorkerThread, self).__init__()  # 重构run函数必须要写
        self.n = n

    def run(self, n):
        print("current task：", n)
